<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<!-- 1 1 2 3 5 8 13 21-->

<body>

</body>

<script>
    var count = 0;
    for (let i = 0; i < 100; i++) {
        for (let j = 1; j <= i; j++) {
            if (i % j == 0)
                count++
        }
        if (count == 2) {
            console.log(i);

        }
        count = 0;

    }

</script>

</html>